package com.fengmi.miaosha.service;

import com.fengmi.miaosha.entity.MsGoods;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhuxm
 * @since 2022-03-17
 */
public interface IMsGoodsService extends IService<MsGoods> {


    /**
     * time :2022031718
     * @param time
     * @return
     */
    //根据时间区间获取相应的商品列表
    public List<MsGoods> findGoodsListByTime(String time);



    public List<MsGoods> findGoodsByTimeFromDB(String startTime,String endTime);

}
